package com.ljyanimo.service;

import com.ljyanimo.entity.SysMenu;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ljyanimo.vo.NavigationMenuVo;
import com.ljyanimo.vo.TreeEditVo;
import com.ljyanimo.vo.TreeVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author
 * @since 2020-10-16
 */
public interface ISysMenuService extends IService<SysMenu> {

    /**
     * 根据用户ID查询所拥有的左侧菜单列表
     * @param userId
     * @return
     */
    List<NavigationMenuVo> selectMenuByUserId(Integer userId);

    List<SysMenu> selectListMenu();

    List<TreeVo> tree();

    List<TreeEditVo> treeEdit(Integer id);



}
